package weibo4j.examples;

import weibo4j.Weibo;

/**
 * @author Terry E-mail: yaoxinghuo at 126 dot com
 * @version create: 2010-10-21 下午03:21:07
 */
public class Test {
	public static void main(String[] args) throws Exception {
		System.setProperty("weibo4j.oauth.consumerKey", Weibo.CONSUMER_KEY);
    	System.setProperty("weibo4j.oauth.consumerSecret", Weibo.CONSUMER_SECRET);
		Weibo weibo = new Weibo();
		weibo.setToken("6b0526facfb65f0ffccc9ed60d37f2c1", "ba22f168475b749bcd3de555d3ed6431");
		weibo.verifyCredentials();
		int flower = weibo.getFollowersStatuses().size();
        System.out.println("Flowers:"+flower);
	}
}
